#ifndef MENUWIDGET_H
#define MENUWIDGET_H

#include <QWidget>

class MenuWidget : public QWidget
{
    Q_OBJECT
public:
    explicit MenuWidget(const QList<QString> &item_list, QWidget *parent = nullptr);
    ~MenuWidget();

private:
    void paintEvent(QPaintEvent *);

    QList<int> split_line_y;

signals:
    void clicked_item(QString);
};

#endif // MENUWIDGET_H
